﻿using System.Collections.Generic;

namespace CobraCms.Core.Content.Interfaces
{
    public interface IContentRepository
    {
        ContentNode GetContentNode(string nodeId);
        void DeleteContentNode(string nodeId);
        ContentNode SaveContentNode(ContentNode node);
        List<ContentNode> SearchContentNodes(ContentNodeSearchCriteira searchCriteria);
        void ClearRepository();
    }
}
